<template>
  <div>
    <loading :text="text1" :show="true"></loading>
  </div>
</template>
<script>
  import { Loading } from './../../components'
  export default {
    props: {
      show: Boolean,
      text: {
        type: String,
        default: 'Loading'
      }
    },
    created: function() {
      this.showLoading();
    },
    methods: {
      showLoading() {
        this.show = true;
      },
      hideLoading() {
        this.show = false;
      }
    },
     components: {
      Loading
    }
  }
</script>
<style>
.weui_toast {
      background: rgba(40, 40, 40, 0.5) !important;
}
</style>
